package se.webbzon.boltzmann.battle.environment;

import se.webbzon.boltzmann.battle.hud.AbstractBattleHudLayout;
import se.webbzon.boltzmann.battle.hud.BattleHudLayoutLow;
import se.webbzon.boltzmann.configuration.Graphics;
import se.webbzon.boltzmann.environment.PlayerEnvironment;
import se.webbzon.boltzmann.inflatorgroup.EnvironmentInflatorGroup;

public class BattleEnvironment extends PlayerEnvironment {
	
	// The layout of the battle heads-up display
	private final AbstractBattleHudLayout layout;
	
	/*============================================================
	Constructors
	============================================================*/

	public BattleEnvironment(EnvironmentInflatorGroup inflatorGroup) throws Exception {
		super(inflatorGroup);
		switch (Graphics.instance().getResolution()) {
		default:
			layout = new BattleHudLayoutLow();
		}
	}

	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** Returns the layout of the battle heads-up display. **/
	public AbstractBattleHudLayout getLayout() {
		return layout;
	}

}
